// invoked in worker
require('./global');
// require('./model');
// require('./tags');
think.beforeStartServer(async() => {
  const webconfig = await think.model('kms/setup').getset();
  think.config('setup', webconfig);
  // 加载拓展配置
  const extconfig = await think.model('kms/ext').getset();
  think.config('ext', extconfig);
  const systemConfig = await think.model('kms/system_config').getSystem_info();
  think.config('systemInfo', systemConfig)
});
